import request from '@/utils/request'

export function gatewayList() {
  return request({
    url: '/system/gateway/gatewayList',
    method: 'post'
  })
}

export function gatewayDetails(data) {
  return request({
    url: '/system/gateway/gatewayDetails',
    method: 'post',
    data
  })
}

export function updateGateway(data) {
  return request({
    url: '/system/gateway/updateGateway',
    method: 'post',
    data
  })
}

export function deletGateway(data) {
  return request({
    url: '/system/gateway/deleteGateway',
    method: 'post',
    data
  })
}
